package com.jack006.article.mapper;

import com.jack006.my.mapper.MyMapper;
import com.jack006.pojo.Article;
import org.springframework.stereotype.Repository;

@Repository
public interface ArticleMapperCustom extends MyMapper<Article> {

    void updateAppointToPublish();

    /**
     * 更新文章为即时发布
     * @param articleId
     */
    void updateArticleToPublish(String articleId);
}